// TOP
// NEWS    
// MOVIE    
// GALLERY    
// VOICE    
// SONG    
// STORY    
// SPECIAL    
// GAME    
import {RouteRecordRaw} from "vue-router";
import Greet from "../../../components/Greet.vue";

let app = ["top",
    "news",
    "movie",
    "gallery",
    "voice",
    "song",
    "story",
    "special",
    "game",];
const aaa = "/home/debi/IdeaProjects/WebUI/v1-tauri/src/page/"


for (let string of app) {
    let filePath = aaa + string + ".vue";
    console.log(filePath)
    let toUpperCase = string.toUpperCase();

    let sd = `<script setup lang="ts">

</script>

<template lang="pug">
    h1   {{ $t('menu.${string}') }}

</template>

<style scoped>

</style>`
    console.log(sd)

    await Bun.write(filePath, sd);
}
